package com.tensquare.recruit.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.tensquare.recruit.pojo.Enterprise;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EnterpriseDao extends BaseMapper<Enterprise> {
    @Select("SELECT * from tb_enterprise where ishot=1")
    List<Enterprise> findByHot();
}
